package cn.lili.modules.distribution.entity.vos;

import cn.lili.modules.distribution.entity.dos.Distribution;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DistributionVO extends Distribution {


    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 本月业绩
     */
    private Double currentMonthResults;

    /**
     * 上月业绩
     */
    private Double lastMonthResults;

    @ApiModelProperty(value = "页号")
    private Integer pageNumber = 1;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "类型业绩")
    private Double typeCommiss;

    /**
     * 飞语号
     */
    private String fyAccount;

    /**
     * 飞语昵称
     */
    private String fyName;
}
